package com.loong.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.loong.pojo.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据用户id查询权限列表
     * @param uid 用户id
     * @return 权限列表
     */
    List<String> selectListByUid(long uid);
}
